package com.ruoyi.lowcode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 候选人对象 vote_candidate
 * 
 * @author ruoyi
 * @date 2023-06-28
 */
public class VoteCandidate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 候选人名字 */
    @Excel(name = "候选人名字")
    private String emplyeeName;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private String emplyeeNumber;

    /** 总票数 */
    @Excel(name = "总票数")
    private Long totalnum;

    /** 投票活动id */
    @Excel(name = "投票活动id")
    private Long activityId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmplyeeName(String emplyeeName) 
    {
        this.emplyeeName = emplyeeName;
    }

    public String getEmplyeeName() 
    {
        return emplyeeName;
    }
    public void setEmplyeeNumber(String emplyeeNumber) 
    {
        this.emplyeeNumber = emplyeeNumber;
    }

    public String getEmplyeeNumber() 
    {
        return emplyeeNumber;
    }
    public void setTotalnum(Long totalnum) 
    {
        this.totalnum = totalnum;
    }

    public Long getTotalnum() 
    {
        return totalnum;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("emplyeeName", getEmplyeeName())
            .append("emplyeeNumber", getEmplyeeNumber())
            .append("totalnum", getTotalnum())
            .append("activityId", getActivityId())
            .toString();
    }
}
